< Prev(J) / Next(K) > / View :

Filename: /text/swriter/01/04090007.xhp

(bookmark: bm_id3154106)
tags; in Office Writer
Office Writer; special HTML tags
HTML;special tags for fields
fields;HTML import and export
time fields;HTML
date fields;HTML
DocInformation fields

タグ; Office Writer
Office Writer; 特殊 HTML タグ
HTML;フィールドの特殊タグ
フィールド;HTML のインポートとエクスポート
時間フィールド;HTML
日付フィールド;HTML
ドキュメント情報フィールド

Special Tags
特殊タグ(hd_id3154106.1)

When you save a document that contains fields as an HTML document, Office automatically converts date, time, and DocInformation fields to special HTML tags. The field contents are inserted between the opening and closing HTML tags of the converted fields. These special HTML tags do not correspond to standard HTML tags.
フィールドを含むドキュメントを HTML 形式ドキュメントとして保存する場合、日付、時刻、およびドキュメント情報の各フィールドは、Office によって自動的に特殊な HTML タグで表現されます。変換されたフィールドの内容は、該当する HTML タグの間に配置されます。これらの特殊な HTML タグは、標準 HTML タグには対応していません。(par_id3153669.3)

Office Writer fields are identified by the <SDFIELD> tag in an HTML document. The field type, the format, and the name of the special field are included in the opening HTML tag. The format of a field tag that is recognized by an HTML filter depends on the field type.
HTML ドキュメントでは、Office Writer のフィールドは <SDFIELD> タグで囲まれます。HTML の開くタグには、フィールドの種類、書式、そして特殊フィールドの名前が含まれます。HTML フィルタが認識するフィールドタグの書式は、フィールドの種類によって異なります。(par_id3152960.4)

(section: datumuhrzeit)

Date and Time Fields
日付と時刻のフィールド(hd_id3154570.5)

For "Date" and "Time" fields, the TYPE parameter equals DATETIME. The format of the date or the time is specified by the SDNUM parameter, for example, DD:MM:YY for dates, or HH:MM:SS for time.
日付と時刻のフィールドの場合、TYPE パラメータの値は DATETIME です。日付または時刻の書式は SDNUM パラメータによって指定されます。たとえば、日付は DD:MM:YY で、時刻は HH:MM:SS です。(par_id3149696.6)

For fixed date and time fields, the date or the time is specified by the SDVAL parameter.
日付 (固定) と時刻 (固定) のフィールドの場合、日付または時刻は SDVAL パラメータによって指定されます。(par_id3155183.7)

Examples of date and time special HTML tags that are recognized by Office as fields are shown in the following table:
次の表に、Office がフィールドとして認識する日付と時刻の HTML 特殊タグの例を示します。(par_id3149485.8)

Fields
フィールド(par_id3151257.9)

Office Tag
Office タグ(par_id3148970.10)

Date is fixed
日付 (固定)(par_id3147102.11)

<SDFIELD TYPE=DATETIME SDVAL="35843,4239988426" SDNUM="1031;1031;DD/MM/YY">17/02/98</SDFIELD>
<SDFIELD TYPE=DATETIME SDVAL="35843,4239988426" SDNUM="1031;1031;DD.MM.YY">17.02.98</SDFIELD>(par_id3153634.12)

Date is variable
日付 (自動更新)(par_id3155137.13)

<SDFIELD TYPE=DATETIME SDNUM="1031;1031;DD/MM/YY">17/02/98</SDFIELD>
<SDFIELD TYPE=DATETIME SDNUM="1031;1031;DD.MM.YY">17.02.98</SDFIELD>(par_id3156275.14)

Time is fixed
時刻 (固定)(par_id3145774.15)

<SDFIELD TYPE=DATETIME SDVAL="35843,4240335648" SDNUM="1031;1031;HH:MM:SS">10:10:36</SDFIELD>
<SDFIELD TYPE=DATETIME SDVAL="35843,4240335648 "SDNUM="1031;1031;HH:MM:SS">10:10:36</SDFIELD>(par_id3155915.16)

Time is variable
時刻 (自動更新)(par_id3150110.17)

<SDFIELD TYPE=DATETIME SDNUM="1031;1031;HH:MM:SS">10:10:36</SDFIELD>
<SDFIELD TYPE=DATETIME SDNUM="1031;1031;HH:MM:SS">10:10:36</SDFIELD>(par_id3155862.18)


(/section: datumuhrzeit) (section: dokumentinfo)

DocInformation Fields
ドキュメント情報フィールド(hd_id3147409.23)

For DocInformation fields, the TYPE parameter equals DOCINFO. The SUBTYPE parameter displays the specific field type, for example, for the "Created" DocInformation field, SUBTYPE=CREATE. For date and time DocInformation fields, the FORMAT parameter equals DATE or TIME, and the SDNUM parameter indicates the number format that is used. The SDFIXED parameter indicates if the content of the DocInformation field is fixed or not.
ドキュメント情報フィールドの場合、TYPE パラメータは DOCINFO です。SUBTYPE パラメータは特殊なフィールドの種類を表示します。たとえば、作成されたドキュメント情報フィールドの場合は SUBTYPE=CREATE です。日付と時刻のドキュメント情報フィールドの場合、FORMAT パラメータは DATE または TIME です。また、SDNUM パラメータは使用されている数字書式を示します。SDFIXED パラメータは、ドキュメント情報フィールドの内容が固定されているかどうかを示します。(par_id3147487.24)

The contents of a fixed date or time field are equal to the SDVAL parameter, otherwise the contents are equal to the text found between the SDFIELD HTML tags.
固定された日付と時刻のフィールドの内容は SDVAL パラメータと同じです。それ以外のフィールドの内容は SDFIELD HTMLタグに囲まれたテキストと同じです。(par_id3147501.25)

Examples of DocInformation special HTML tags that are recognized by Office as fields are shown in the following table:
次の表に、Office がフィールドとして認識するドキュメント情報フィールドの HTML 特殊タグの例を示します。(par_id3149562.26)

Fields
フィールド(par_id3147738.27)

Office Tag
Office タグ(par_id3146334.28)

Description (fixed content)
説明 (固定内容)(par_id3149846.29)

<SDFIELD TYPE=DOCINFO SUBTYPE=COMMENT SDFIXED>Description</SDFIELD>
<SDFIELD TYPE=DOCINFO SUBTYPE=COMMENT SDFIXED>説明</SDFIELD>(par_id3148863.30)

Creation date
作成日(par_id3151083.31)

<SDFIELD TYPE=DOCINFO SUBTYPE=CREATE FORMAT=DATE SDNUM="1031;1031;QQ YY">1. Quarter 98</SDFIELD>
<SDFIELD TYPE=DOCINFO SUBTYPE=CREATE FORMAT=DATE SDNUM="1031;1031;YY年 QQ">1998年 第1四半期</SDFIELD>(par_id3153298.32)

Creation time (fixed content)
作成時刻 (内容固定)(par_id3150175.33)

<SDFIELD TYPE=DOCINFO SUBTYPE=CREATE FORMAT=TIME SDVAL="0" SDNUM="1031;1031;HH:MM:SS AM/PM" SDFIXED>03:58:35 PM</SDFIELD>
<SDFIELD TYPE=DOCINFO SUBTYPE=CREATE FORMAT=TIME SDVAL="0" SDNUM="1031;1031;AM/PM HH:MM:SS" SDFIXED>午後 03:58:35</SDFIELD>(par_id3156134.34)

Modification date
変更日(par_id3155077.35)

<SDFIELD TYPE=DOCINFO SUBTYPE=CHANGE FORMAT=DATE SDNUM="1031;1031;NN DD MMM, YY">Mo 23 Feb, 98</SDFIELD>
<SDFIELD TYPE=DOCINFO SUBTYPE=CHANGE FORMAT=DATE SDNUM="1031;1031;YY年M月D日(AAA)">98年2月23日 (月曜日)<SDFIELD>(par_id3154330.36)


(/section: dokumentinfo)
< Prev / Next >